package com.codedef.fservice;

import com.codedef.entity.Classroom;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author 孙宏宇
 * @date 2021/2/18 16:42
 */

@FeignClient(value = "seatlist")
public interface ClassroomService {

    @GetMapping(value = "/classroom/f/all")
    List<Classroom> getAll();

}
